﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using MINERP.DAL;
using MINERP.DAL.InfoConfig;

namespace MINERP.BLL.InfoConfig
{
    public  class PaperFaceBLL
    {
        #region //Private Fields


        #endregion


        #region //Public Properties

        #endregion



        #region //Public Methods
        /// <summary>
        /// Get paperFace list
        /// </summary>
        /// <returns></returns>
        public List<paperFace> GetPaperFaceList()
        {
            return PaperFaceDAL.GetPaperFaceList();
        }
        /// <summary>
        /// Get paperFace object
        /// </summary>
        /// <param name="name"></param>
        /// <returns></returns>
        public paperFace GetPaperFaceObj(string name)
        {
            return PaperFaceDAL.GetPaperFaceObj(name);
        }

        public paperFace GetPaperFaceObj(int id)
        {
            return PaperFaceDAL.GetPaperFaceObj(id);
        }
        /// <summary>
        /// 添加纸面
        /// </summary>
        /// <param name="obj"></param>
        public void Add(paperFace obj)
        {
            PaperFaceDAL.Add(obj);
        }
        /// <summary>
        /// 更新纸面
        /// </summary>
        /// <param name="obj"></param>
        public void Update(paperFace obj)
        {
            PaperFaceDAL.Update(obj);
        }
        /// <summary>
        /// 停用
        /// </summary>
        /// <param name="obj"></param>
        public void disable(paperFace obj)
        {
            PaperFaceDAL.Disable(obj);
        }
        /// <summary>
        /// 启用
        /// </summary>
        /// <param name="obj"></param>
        public void Useable(paperFace obj)
        {
            PaperFaceDAL.Useable(obj);
        }
        /// <summary>
        /// 删除
        /// </summary>
        /// <param name="obj"></param>
        public void Delete(paperFace obj)
        {
            PaperFaceDAL.Delete(obj);
        }
        #endregion
        
    }
}
